<template> 
 <view class='form'>
	<radio-group class="radio" @change="select">
		<view class="option">
			男<radio value="男" name="0" />
		</view>
		<view class="option">
			女<radio value="女" name="1"/>
		</view>	
	</radio-group>
 </view>
   
</view>  
</view>  
</template>  
<script>  
export default {  
     data(){  
    return{  

      }
    },
     methods:{
         select(evt) {
		    console.log(evt.detail.value)
	      },
    } ,
}
</script>  
<style lang="scss" > 
 .form{
	 margin-left:5px;
	 
	 .radio{
		 display:flex;
		 flex-direction: row;
		 
		 .option{
			 margin-right:10upx;
		 }
	 }
 }
</style >